package com.example.mangroves.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("InfraredData")
public class InfraredData {
    @TableField("imgDatetime")
    private String imgDatetime;

    @TableField("meanNDVI")
    private double meanNDVI;

    @TableField("roiNDVI")
    private double roiNDVI;

    @TableField("name")
    private String name;

    @TableField("cameraID")
    private int cameraID;
    public InfraredData() {
    }

    public InfraredData(String imgDatetime, double meanNDVI, double roiNDVI, String name, int cameraID) {
        this.imgDatetime = imgDatetime;
        this.meanNDVI = meanNDVI;
        this.roiNDVI = roiNDVI;
        this.name = name;
        this.cameraID = cameraID;
    }

    /**
     * 获取
     * @return imgDatetime
     */
    public String getImgDatetime() {
        return imgDatetime;
    }

    /**
     * 设置
     * @param imgDatetime
     */
    public void setImgDatetime(String imgDatetime) {
        this.imgDatetime = imgDatetime;
    }

    /**
     * 获取
     * @return meanNDVI
     */
    public double getMeanNDVI() {
        return meanNDVI;
    }

    /**
     * 设置
     * @param meanNDVI
     */
    public void setMeanNDVI(double meanNDVI) {
        this.meanNDVI = meanNDVI;
    }

    /**
     * 获取
     * @return roiNDVI
     */
    public double getRoiNDVI() {
        return roiNDVI;
    }

    /**
     * 设置
     * @param roiNDVI
     */
    public void setRoiNDVI(double roiNDVI) {
        this.roiNDVI = roiNDVI;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return cameraID
     */
    public int getCameraID() {
        return cameraID;
    }

    /**
     * 设置
     * @param cameraID
     */
    public void setCameraID(int cameraID) {
        this.cameraID = cameraID;
    }
@Override
    public String toString() {
        return "InfraredData{imgDatetime = " + imgDatetime + ", meanNDVI = " + meanNDVI + ", roiNDVI = " + roiNDVI + ", name = " + name + ", cameraID = " + cameraID + "}";
    }

    // Getters and Setters
}